package com.mapper;

import com.pojo.TabDept;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeptMapper {
    List<TabDept> deptAll();
    TabDept deptById(@Param("dept_id") Integer id);
    Integer deptDeleteById(@Param("dept_id") Integer id);
    Integer deptDelete(Integer[] dept_id);
    Integer deptUpdate(TabDept dept);
    Integer deptInsert(TabDept dept);
}
